package vashion.azeroth.core.yvogue.pojo;

import java.util.Iterator;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.google.common.collect.Lists;

@XmlRootElement(name = "products")
public class YvogueProductList {
	@XmlElement(name = "product")
	private List<YvogueProduct> productlist;

	public YvogueProductList() {
		productlist = Lists.<YvogueProduct>newArrayList();
	}

	public void add(YvogueProduct product) {
		productlist.add(product);
	}

	public Iterator<YvogueProduct> iterator() {
		return productlist.iterator();
	}
}
